package com.example.computer_exam_training_sys.service;

import com.example.computer_exam_training_sys.entity.UserFollow;

import java.util.List;

public interface UserFollowService {
    int insert(UserFollow userFollow);                  // 添加关注
    List<UserFollow> selectByUserId(Integer userId);    // 查询关注列表
    int delete(Integer userId, Integer followedUserId); // 取消关注
    List<UserFollow> selectAll();
}
